<template>
    <div
        id="header"
        class="spaceBetween"
    >
        <div class="center title">
            博客系统
        </div>
        <div class="center login-info">
            <el-dropdown>
                <span class="el-dropdown-link">
                    欢迎你，caoyq<i class="el-icon-arrow-down el-icon--right"></i>
                </span>
                <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>退出</el-dropdown-item>
                </el-dropdown-menu>
            </el-dropdown>
        </div>
    </div>
</template>

<script>
    export default {
        data () {
            return {
            };
        }
    };
</script>

<style lang='less' scoped>
@import '~assets/styles/variable';
#header {
    height: 70px;
    padding: 0 20px;
    flex-shrink: 0;
    background-color: @color-content-background;
    .title {
        font-size: @font-size-large-x;
    }
}
</style>
